package com.app.db.datasource;

/**
 * 多数据源常量配置
 * @author liuli
 */
public class DataSourceConstant {
    /**m1*/
    public static final String DB_MASTER1 = "m1";
    public static final String DB_SLAVE1= "s1";
    static final String M1_PACKAGE = "com.app.db.mybatis.m1.mapper";
    static final String M1_MAPPER_LOCATION = "classpath:mapper/m1/*.xml";
    /**m2*/
    public static final String DB_MASTER2 = "m2";
    public static final String DB_SLAVE2= "s2";
    static final String M2_PACKAGE = "com.app.db.mybatis.m2.mapper";
    static final String M2_MAPPER_LOCATION = "classpath:mapper/m2/*.xml";

}
